//
//  Adopted.h
//  PigMarket
//
//  Created by mac on 2019/5/7.
//  Copyright © 2019 felix.pigmarket.oc. All rights reserved.
//

#import <Foundation/Foundation.h>

@class AdoptedList;

/**
 小猪状态枚举

 - PigStatusFreeAdopetChecking: 试养审核中
 - PigStatusNormal: 正常
 - PigStatusInvalid: 无效 灰色状态
 - PigStatusUnableTransfer: 不能转让
 */
typedef NS_ENUM(NSInteger,PigStatus) {
    PigStatusFreeAdopetChecking = 0,
    PigStatusNormal = 1,
    PigStatusInvalid = 2,
    PigStatusUnableTransfer
};
@interface Adopted : NSObject
/**
 adoptPlanId
 */
@property (nonatomic , strong) NSNumber *adoptPlanId;
/**
 varieties
 */
@property (nonatomic , copy) NSString *varieties;
/**
 tags
 */
@property (nonatomic , copy) NSString *tags;
/**
 tribeId
 */
@property (nonatomic , strong) NSNumber *tribeId;
/**
 tribeName
 */
@property (nonatomic , copy) NSString *tribeName;
/**
 欠费金额
 */
@property (nonatomic , strong) NSNumber *arrears;
/**
 已购买的托管套餐到期日期
 */
@property (nonatomic , copy) NSString *overTime;
/**
 到期剩余天数
 */
@property (nonatomic , strong) NSNumber *overDays;
/**
 0试养审核中;1正常;2无效(置灰状态)3不能转让
 */
@property (nonatomic , strong) NSNumber *status;
/**
 领养时间
 */
@property (nonatomic , copy) NSString *createTime;
/**
 pigId
 */
@property (nonatomic , copy) NSString *pigId;
/**
 headImg
 */
@property (nonatomic , copy) NSString *headImg;
/**
 pigNum
 */
@property (nonatomic , copy) NSString *pigNum;
@end

@interface AdoptedList : NSObject
/**
 list
 */
@property (nonatomic , strong) NSArray<Adopted *> *list;
/**
 pageSize
 */
@property (nonatomic , strong) NSNumber *pageSize;
/**
 currPage
 */
@property (nonatomic , strong) NSNumber *currPage;
/**
totalCount
 */
@property (nonatomic , copy) NSString *totalCount;
/**
 totalPage
 */
@property (nonatomic , copy) NSString *totalPage;
@end
